package com.gnizr.feed ;

import com.gnizr.feed.FeedItem ;

import java.io.Serializable ;
import java.util.Date ;
import java.util.List ;

import java.sql.ResultSet ;
import java.sql.Timestamp ;

import com.gnizr.db.dao.Bookmark ;
import com.gnizr.db.dao.DaoResult ;
import com.gnizr.db.dao.Link ;
import com.gnizr.db.dao.Tag ;
import com.gnizr.db.dao.User ;

public interface FeedDao extends Serializable
{	
	public static final int DESCENDING    = 1;
	public static final int ASCENDING     = 2;

	public static final int BOOKMARKS     = 0;
	public static final int FOLDERS       = 1;
	public static final int SUBSCRIPTIONS = 2;
	public static final int USERS         = 3;
	public static final int TAGS          = 4;
	
	public static final String[] formData = {
	    "feedBookmarks",
        "feedFolderUpdates",
        "feedNewSubscriptions",
        "feedNewUsers",
        "feedTagUpdates"
    } ;
	
    public DaoResult<FeedItem> fetchAllFeeds(Timestamp startTime, Timestamp stopTime) ;
	
	public DaoResult<FeedItem> fetchFeed(int type, Timestamp startTime, Timestamp stopTime) ;
}
